﻿<%@ Control Language="C#" AutoEventWireup="True" CodeBehind="CalendarControl.ascx.cs" Inherits="BigLotterySyndicate.Secured.Controls.CalendarControl" %>
<script type="text/javascript">
    function contains (id, txt) { return $(this).indexOf(txt) >= 0; }
    $(function() {
    
            $('#<%= PrintTextId() %>').datepicker({
            duration: '',
            showTime: <%= PrintShowTime() %>,
            constrainInput: false
            
            });      
    });
    $(document).ready(function() {
    Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandlerCal);
    function EndRequestHandlerCal(sender, args) {
                $('#<%= PrintTextId() %>').datepicker({
                duration: '',
                showTime: <%= PrintShowTime() %>,
                constrainInput: false
                
                });
            /*}*/
       }
    });
</script>

<asp:TextBox ID="txtCalendarValue" runat="server" Text="<%# this.PrintSelectedDate() %>" CssClass="dateTime"></asp:TextBox>